import { createApp } from "vue";
import "./style.css";
import { createPinia } from "pinia";
import App from "./App.vue";
import "virtual:svg-icons-register";
import "uno.css"; // 原子化css
import { setupDirective } from "@/directive";

import router from "@/router";

const app = createApp(App);
// 全局注册 自定义指令(directive)
setupDirective(app);
App.use(router).mount("#app");
createApp(App).use(createPinia()).mount("#app");
